package com.xiaoq.helper.entity;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

import io.swagger.annotations.ApiModelProperty;

@JsonAutoDetect(fieldVisibility = Visibility.NONE, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class QuestionEntity implements Serializable{
	
	@JsonProperty("question")
	@ApiModelProperty(name = "question", value = "问题", position=1)
	private String question;
	
	@JsonProperty("answer")
	@ApiModelProperty(name = "answer", value = "答案", position=10)
	private String answer; 
	
	@JsonProperty("recomment")
	@ApiModelProperty(name = "recomment", value = "0不推荐，1推荐", position=20)
	private Integer recomment; 
	
	

	public Integer getRecomment() {
		return recomment;
	}

	public void setRecomment(Integer recomment) {
		this.recomment = recomment;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}
	
	

}
